﻿function setExampleQuery() {
    $('#q').val($('#sampleQueryAnchor').text());
}

function showHideAdvancedSearch() {
    var advancedSearchTable = $('#advancedSearchDiv');
    if (advancedSearchTable.is(':hidden'))
        advancedSearchTable.show();
    else
        advancedSearchTable.hide();
}